<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-05-18
 * Time: 18:43
 */

namespace app\admin\validate;

use think\Validate;
/**
 *用户登录验证
 */
class Account extends Validate
{
    // 数据验证规则
    protected $rule = [
        'name|用户名'=>'require|max:6',
        'password|密码'=>'require|max:6',
        ''=>'',
    ];
    // 自定义提示信息
    protected $msg = [

    ];

}